package com.ithome.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author sandu
 * @since 2020-06-13
 */
@Controller
public class NewsController {
    @RequestMapping("/news")
    public String news() {
        return "news";
    }
}

